Carbon


WindowPaintProcPtr

Header: MacWindows.h Carbon status: Under Evaluation

typedef OSStatus(* WindowPaintProcPtr) (
    GDHandle device, 
    GrafPtr qdContext, 
    WindowRef window, 
    RgnHandle inClientPaintRgn, 
    RgnHandle outSystemPaintRgn, 
    void *refCon
);

You would declare your function like this if you were to name it MyWindowPaintCallback:

OSStatus MyWindowPaintCallback (
    GDHandle device, 
    GrafPtr qdContext, 
    WindowRef window, 
    RgnHandle inClientPaintRgn, 
    RgnHandle outSystemPaintRgn, 
    void *refCon
);
device
qdContext
window
inClientPaintRgn
outSystemPaintRgn
refCon
function result

A result code.

AVAILABILITY

Under evaluation for Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)